package com.xd.source;

import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;

public class CarFragment extends Fragment {

    @Nullable
    @Override
    public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        Log.e("Fragment","初始化购车");
        return inflater.inflate(R.layout.fragment_car,null,false);
    }

    @Override
    public void onResume() {
        super.onResume();
        Log.e("Fragment","恢复购车");
    }
}
